package com.sfac.springboot.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Description ResourceConfigBean
 * @Author JiangHu
 * @Date 2022/8/17 13:39
 */
@Component
public class ResourceConfigBean {

	@Value("${spring.resource.path}")
	private String resourcePath;
	@Value("${spring.resource.pathPattern}")
	private String resourcePathPattern;
	@Value("${spring.resource.window.path}")
	private String localPathForWin;
	@Value("${spring.resource.linux.path}")
	private String localPathForLin;

	public String getResourcePath() {
		return resourcePath;
	}

	public void setResourcePath(String resourcePath) {
		this.resourcePath = resourcePath;
	}

	public String getResourcePathPattern() {
		return resourcePathPattern;
	}

	public void setResourcePathPattern(String resourcePathPattern) {
		this.resourcePathPattern = resourcePathPattern;
	}

	public String getLocalPathForWin() {
		return localPathForWin;
	}

	public void setLocalPathForWin(String localPathForWin) {
		this.localPathForWin = localPathForWin;
	}

	public String getLocalPathForLin() {
		return localPathForLin;
	}

	public void setLocalPathForLin(String localPathForLin) {
		this.localPathForLin = localPathForLin;
	}
}
